var q6 ="#fUI/RunnerGame.img/RunnerGameUI/UI/Point/1#"
var q1 ="#fUI/SoulUI.img/DungeonMap/icon/dungeonItem/0#"
var zh5 ="#fUI/Gateway.img/WorldSelect/BtDot/normal/0#"  


var status = 0;

function start() {
	status = -1;
	action(1, 0, 0);
}

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (mode == 0 && status == 0) {
			cm.dispose();
			return;
		}
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
        	var text="#e#r "+"      " +q6+"   您可以制作以下装备   "+q6+" #n\r\n";
			text+="#b#L14#"+zh5+"#eBOOS伤害+20%的巨匠装饰套装#r[全职业]\r\n";
			text+="#b#L15#"+zh5+"制作自带加成属性的巨匠武器#l\r\n";
			cm.sendSimple(text);
		} else if (status == 1){
			switch (selection) {
				case 14:
				cm.dispose();
				cm.openNpc(0, "巨匠装饰套装");
				break;
				case 15:
				cm.dispose();
				cm.openNpc(0, "属性的巨匠武器");
				break;
				default:
				cm.sendOk("管理员正在准备中.请期待");
				cm.dispose();
			}
		}
	}
}